fix(MessageList): set width on message list scroll container#3077
Merged
fix(MessageList): set width on message list scroll container#3077
Conversation
`.str-chat__message-list-scroll` is a flex child inside a centered flex parent but had no width set, causing it to shrink-wrap its content instead of filling available space up to its max-width.
|
Size Change: 0 B Total Size: 621 kB βΉοΈ View Unchanged
|
arnautov-anton
approved these changes
Mar 30, 2026
github-actions bot
pushed a commit
that referenced
this pull request
Mar 31, 2026
## [14.0.0-beta.5](v14.0.0-beta.4...v14.0.0-beta.5) (2026-03-31) ### Bug Fixes * assorted UI/UX fixes (Giphy, polls, dialogs, composer, headers) ([#3081](#3081)) ([6c06e04](6c06e04)) * close CSS gaps, fix ChannelList dialog portal, and clean up icons ([#3079](#3079)) ([a47981f](a47981f)) * **Icons:** sync icon catalog with refreshed Line SVGs ([#3080](#3080)) ([9472f7b](9472f7b)) * **MessageList:** set width on message list scroll container ([#3077](#3077)) ([3f09362](3f09362)) * post-review `MessageReactionsDetail` adjustments ([#3082](#3082)) ([a82bdcb](a82bdcb)) * use link icon for link-type attachments ([#3083](#3083)) ([241209e](241209e)) ### Features * **examples:** add RTL direction toggle to vite example app ([#3084](#3084)) ([887a326](887a326)) * **examples:** refresh react tutorial app for v14 ([#3078](#3078)) ([86ada37](86ada37))
|
π This PR is included in version 14.0.0-beta.5 π The release is available on: Your semantic-release bot π¦π |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
π― Goal
.str-chat__message-list-scrollis a flex child inside.str-chat__message-list(which usesdisplay: flex; justify-content: center), but it had nowidthset β so it shrink-wrapped its content instead of filling the available space up to itsmax-width.π Implementation details
width: 100%to.str-chat__message-list-scrollinMessageList.scssso it expands to fill the parent, capped by the existingmax-widthwidth: 100%override from the vite example app'sindex.scssπ¨ UI Changes
No visual change in the vite example app (which already had the workaround). Other consumers that didn't apply their own override will now see the message list correctly fill the available width.